package cn.acmenms.po.model;

import cn.acmenms.po.serializ.CustomDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.time.LocalDateTime;

/**
 * @ClassName: WeekSignIn
 * @Description: 一周签到总数统计
 * @author: 神奇的鸭鸭
 * @Date: 2018/2/10 22:15
 */
public class WeekSignIn {


    @JsonSerialize(using = CustomDateSerializer.class)
    private LocalDateTime signDate; // 签到日期

    private Integer count; // 签到统计

    public WeekSignIn() {
    }

    public LocalDateTime getSignDate() {
        return signDate;
    }

    public void setSignDate(LocalDateTime signDate) {
        this.signDate = signDate;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public WeekSignIn(LocalDateTime signDate, Integer count) {
        this.signDate = signDate;
        this.count = count;
    }
}